Repository navigation
Conversation
Extends _prepare_probs_distribution_data to produce rank_bins Polars DataFrame directly from observation-level probability quantiles and outcomes. Co-authored-by: uriahf <11351434+uriahf@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Remove unused pytest import in tests/test_transforms.py to resolve CI ruff failure. Co-authored-by: uriahf <11351434+uriahf@users.noreply.github.com>
|
Run `uv run ruff format` on tests/test_probs_distribution.py to ensure `ruff format --check` passes in CI. Co-authored-by: uriahf <11351434+uriahf@users.noreply.github.com>
|
FOLLOW-UP REVIEW — rtichoke_python PR #415 PR: This is a focused follow-up on the existing PR. Do NOT redesign the implementation unless a regression test reveals an actual The implementation direction is approved. The remaining task is to strengthen ============================================================
First report:
Work from the actual current PR head. ============================================================
|
Follow-up verification complete:
Existing Prediction Distribution outputs unchanged: YES |
Added primary golden fixture, secondary N < q fixture, order-invariance row permutation test, and exact non-regression tests to satisfy PR #415 merge gates. Co-authored-by: uriahf <11351434+uriahf@users.noreply.github.com>
Implement internal producer-owned prediction distribution rank_bins in Python matching the R/canonical contract. Extract observation-level probability-quantile stratum index helper _compute_probability_quantile_bin_indices in transforms.py, extend _prepare_probs_distribution_data in probs_distribution.py to return rank_bins, and add comprehensive unit and regression tests.
PR created automatically by Jules for task 3072184734751309843 started by @uriahf